package org.example.news_check.Service;

import org.example.news_check.Pojo.Communicate;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommunicateService {
    /**
     * 返回树形评论数据
     * @return
     */
    List<Communicate> listTree();

    void save(Communicate communicate);

    List<Communicate> listTreeByArticleId(Integer articleId);
}
